package com.shuwen.gcdj.service.dictionaryItem;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shuwen.gcdj.bean.dictionaryItem.request.*;
import com.shuwen.gcdj.bean.dictionaryItem.response.DictionaryItemListVO;
import com.shuwen.gcdj.bean.dictionaryItem.response.DictionaryItemMainVO;
import com.shuwen.gcdj.common.api.CommonResult;
import com.shuwen.gcdj.dto.account.InitUserDto;
import com.shuwen.gcdj.entity.DictionaryItem;

import java.util.List;

public interface DictionaryItemService extends IService<DictionaryItem> {

    CommonResult<List<DictionaryItemMainVO>> getList(DictionaryItemMainParam queryParam);

    CommonResult<List<DictionaryItemListVO>> getListByIds(DictionaryItemListParam param);

    CommonResult<DictionaryItemMainVO> add(DictionaryItemAddParam param, InitUserDto initUserDto);

    CommonResult<DictionaryItemMainVO> update(DictionaryItemUpdateParam param, InitUserDto initUserDto);

    Boolean batchSave(DictionaryItemBatchSaveParam param, InitUserDto initUserDto);

    CommonResult<String>  deletes(String ids,InitUserDto initUserDto);
}
